import React from "react";
import cn from "classnames";
import "../../Styles/task.css";
import "../../Styles/iconfont.css";

interface IProp {
  onClick: () => void;
  className: string;
}

export default function IconBox(props: IProp) {
  const { onClick, className } = props;
  return <i className={cn("iconfont", className)} onClick={onClick}></i>;
}
